/*
 * Copyright 2010 Michael Nitsche
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package de.mnit.basis.grafik;

import de.mnit.basis.daten.S_Kopierbar;
import de.mnit.basis.fehler.system.F_Sys_InOut;
import de.mnit.basis.grafik.konstant.DATEIFORMAT_BILD;
import de.mnit.basis.sys.datei.S_Datei;
import de.mnit.basis.sys.datei.S_Ordner;

/**
 * @author Michael Nitsche
 */
public interface S_Bild_Basis<TA extends Object> extends S_Kopierbar<S_Bild_Basis<TA>> {

	void     speichern(String datei, DATEIFORMAT_BILD format) throws F_Sys_InOut;
	void     speichernJPEG(String datei, int qualitaet) throws F_Sys_InOut;
	S_Datei  speichern(S_Ordner o, String name, DATEIFORMAT_BILD format) throws F_Sys_InOut;
	void     freigeben();

	TA  gImage();
	int gHoehe();
	int gBreite();
	int gFarbBitsOriginal();

}
